package com.stellar.circle.basic.service.impl;

import com.stellar.circle.basic.dao.SChatSensitiveLogDao;
import com.stellar.circle.basic.entity.SChatSensitiveLog;
import com.stellar.circle.basic.service.SChatSensitiveLogService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

/**
 * 聊天敏感词记录表(SChatSensitiveLog)服务实现
 *
 * @author Jqchan
 * @since 2025-06-12 21:21:50
 */
@Service
public class SChatSensitiveLogServiceImpl implements SChatSensitiveLogService {
    
    @Resource
    private SChatSensitiveLogDao sChatSensitiveLogDao;

    @Override
    public SChatSensitiveLog queryById(Long id) {
        return sChatSensitiveLogDao.queryById(id);
    }

    @Override
    public SChatSensitiveLog queryByCondition(SChatSensitiveLog condition) {
        return sChatSensitiveLogDao.queryByCondition(condition);
    }

    @Override
    public List<SChatSensitiveLog> queryAllByCondition(SChatSensitiveLog condition) {
        return sChatSensitiveLogDao.queryAllByCondition(condition);
    }

    @Override
    public List<SChatSensitiveLog> page(SChatSensitiveLog condition, int page, int pageSize) {
        return sChatSensitiveLogDao.page(condition, page, pageSize);
    }

    @Override
    public int insert(SChatSensitiveLog entity) {
        return sChatSensitiveLogDao.insert(entity);
    }

    @Override
    public int update(SChatSensitiveLog entity) {
        return sChatSensitiveLogDao.update(entity);
    }

    @Override
    public int deleteById(Long id) {
        return sChatSensitiveLogDao.deleteById(id);
    }

    @Override
    public Long count(SChatSensitiveLog condition) {
        return sChatSensitiveLogDao.count(condition);
    }
}
